<template>
    <div style="margin-left: 30px;margin-top: 30px">
        <!--        <div v-if="system">当前角色:系统管理员</div>-->
        <!--        <div v-if="admin">当前角色:企业管理员</div>-->
        <!--        <br>-->
        <!--        <br>-->
        <!--        <div>-->
        <!--            <span class="span_class_">0.请认真阅读</span>-->
        <!--            <span class="span_class_">1.先登录</span>-->
        <!--            <span class="span_class_">2.在使用</span>-->
        <!--            <span class="span_class_">3.可以退出</span>-->
        <!--            <span class="span_class_">4.没了.........</span>-->
        <!--        </div>-->
    </div>
</template>

<script lang="ts">
    import {Component} from 'vue-property-decorator'
    import {mixins} from "vue-class-component";
    import BaseVue from "@/core/mixin/BaseVue";
    import Kit from "@/core/mixin/Kit";
    import {TagsViewModule} from "@/core/store/modules/tags-view";

    @Component({
        name: 'Index'
    })
    export default class Index extends mixins(BaseVue, Kit) {
        /**
         * 重定向，根据实际业务进行响应的跳转
         */
        created() {
            if (1 == 1) {
                TagsViewModule.delViewByRoute(this.$route);
                this.go("/government/company/list")
            } else if (2 == 2) {
                TagsViewModule.delViewByRoute(this.$route);
                this.go("/companyInfo/edit")
            }
        }

    }
</script>

<style lang="scss" scoped>
    .span_class_ {
        display: block;
        margin-bottom: 15px;
        font-size: 16px;
        color: #333;
        text-indent: 2em;
    }

    .nine_ {
        padding-left: 30px;
    }

    .nine_ span {
        margin-bottom: 10px;
    }
</style>
